package com.li.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.li.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    List<Student> qurey(IPage<Student> page1, @Param("name") String name);


    /* *//**
     * 查询用户记录总数
     * @return
     *//*
    int selectCount();
    *//**
     * 分页操作，调用findByPage limit分页方法
     * @param map
     * @return
     *//*
    List<Student> findByPage(HashMap<String,Object> map);*/

}